package com.moli.iov.admin.service;

import com.moli.iov.base.model.dto.req.CompanyVehicleModelReqDto;
import com.moli.iov.base.model.dto.req.QueryCompanyVehicleModelListParamDto;
import com.moli.iov.base.model.dto.res.CompanyVehicleModelResDto;
import com.moli.iov.model.dto.req.PageExtend;
import com.moli.iov.rest.RestResponse;

/**
 * @author whl
 */
public interface CompanyVehicleModelService {

  /**
   * 添加
   */
  RestResponse saveCompanyVehicleModel(
      CompanyVehicleModelReqDto companyVehicleModelReqDto);

  /**
   * 修改
   */
  RestResponse updateCompanyVehicleModel(CompanyVehicleModelReqDto companyVehicleModelReqDto);

  /**
   * 查看详细
   * @param id
   * @return
   */
  RestResponse<CompanyVehicleModelResDto> getCompanyVehicleModelDetails(Long id);

  /**
   * 基础设置> 车机型号管理  列表
   *
   * @param queryCompanyVehicleModelListParamDto
   * @return
   */
  RestResponse<PageExtend<CompanyVehicleModelResDto>> listCompanyVehicleModel(
      QueryCompanyVehicleModelListParamDto queryCompanyVehicleModelListParamDto);


}
